#include <bits/stdc++.h>
using namespace std;
int main() {
    while(scanf("%d", &val) != EOF) {
        if(val >= 90 && val <= 100)
            printf("Perfect\n");
    }
    return 0;
}
